home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: dish.news.pipex.net!pipex!bt!btcase!Pearl
- From: muthu@mbtpost.agw.bt.co.uk (Muthu Kumar)
- Subject: Re: Q: Creating OLE Custom Control Enumerated Property, how?
- Message-ID: <4fk9gf$9u_001@agw.bt.co.uk>
- Sender: news@btcase.bt.co.uk (USENET News System)
- Organization: MBT
- X-Newsreader: News Xpress Version 1.0 Beta #4
- References: <4fj7uj$umi@dot.cstone.net>
- Date: Sun, 11 Feb 1996 08:31:11 GMT
-
- In article <4fj7uj$umi@dot.cstone.net>, scottv@cstone.net (Scott) wrote:
- >Path:
- btcase!bt!btnet!news.uk0.vbc.net!knews.uk0.vbc.net!news.vbc.net!news2.net99.ne
- t!news.cais.net!ringer.cs.utsa.edu!swrinde!newsfeed.internetmci.com!in2.uu.net
- !news.cstone.net!usenet
- >From: scottv@cstone.net (Scott)
- >Newsgroups: comp.lang.c++
- >Subject: Q: Creating OLE Custom Control Enumerated Property, how?
- >Date: 10 Feb 1996 22:58:27 GMT
- >Organization: Cornerstone Networks - Pure Internet!
- >Lines: 15
- >Message-ID: <4fj7uj$umi@dot.cstone.net>
- >NNTP-Posting-Host: dialin8.cstone.net
- >Mime-Version: 1.0
- >X-Newsreader: WinVN 0.99.7
- >Status: N
- >
- > I've been creating an OLE custom control in VC++ 4.0 and have run
- >into a snag. I want to create a property that has an enumerated value list
- >like that of the BorderStyle property. Languages like VB 4.0 show the
- >enumerated values in a combo box to select from in design time.
- > I've used OnGetDisplayString to override the property as an integer
- >to display "1 - Example" in the property list, but I want to enumerate the
- >values and override the display. Anyone know how to do this - I would think
- >this should be fairly simple, but I've missed it in the documentation or
- >misunderstood it.
- > Please email me direct if possible; scottv@cstone.net - THANKS!!!
- >
- > Thanks,
- > N. Scott Vann
- > Software Developer
- >
-
-
- Look at enprop.exe in Microsoft's FTP Site ( softlib/mslfiles/enprop.exe)
-
- Hope this helps!
-
- =~=~=~=~=~=~=~=~=~=~==~=~=~=~=~=~=~=~=
- K. Muthu Kumar
- 14 Shreeji Apartments,
- Kondi Vitta Village,
- Bombay - 59.
- INDIA.
- Ph: (O) +91-22-836 78 42
- (R) +91-22-839 08 21
- Internet: muthu@mbtpost.agw.bt.co.uk
- =~=~=~=~=~=~=~=~=~=~==~=~=~=~=~=~=~=~=
-